package com.java.business.model;

import java.util.Date;

import com.java.common.model.PageParam;
import com.java.userservice.model.User;
import lombok.Data;

@Data
public class WorkInfo extends PageParam {

    /**
     * 主键
     */
    private Integer id;

    /**
     * 维修保养记录ID，关联维修保养记录表t_maintain_record
     */
    private String recordId;

    /**
     * 工单指派的员工ID，关联用户表t_user
     */
    private String userId;

    /**
     * 指派时间
     */
    private Date assignTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 工单指派员工
     */
    private User user = new User();
    /**
     * 工单维保信息
     */
    private MaintainRecord maintainRecord = new MaintainRecord();

    private Checkin checkin = new Checkin();// 用户表
}
